package com.woniuxy.sale.config;

import com.netflix.loadbalancer.RandomRule;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.Configuration;

/**
 * @author: CHL  <br/>
 * @ToDo: 经测试，没啥用， 可能在集群环境下需要把
 * Date: 2022/3/28:11:13  <br/>
 * Description:
 */
//@Configuration
@RibbonClient(name = "purchaseManager",configuration = RandomRule.class)
public class RibbonConfiguration {
//    @Bean
//    public IRule rule(){
//        return new RandomRule();
//    }
}
